/**
 * 使用传统用法
 *
 * @author zhu
 * @date 2024-04-09
 */
public class MainTest03 {
    public static void main(String[] args) {
        Add add = new Add();
        Sub sub = new Sub();
        Mul mul = new Mul();
        Div div = new Div();
        System.out.println("两数之和：" + add.count(4,2));
        System.out.println("两数之差：" + sub.count(4,2));
        System.out.println("两数之积：" + mul.count(4,2));
        System.out.println("两数之商：" + div.count(4,2));
    }
}
